package com.web.mapper;

import com.web.entity.Doctor;
import com.web.entity.HealthAssessment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HealthAssessmentMapper {

    //查询
    public List<HealthAssessment> list(HealthAssessment healthAssessment);

    //根据id查询
    public HealthAssessment findById(Integer assessmentId);

    public void add(HealthAssessment healthAssessment);

    public void update(HealthAssessment healthAssessment);

    public void delete(Integer doctorId);

    public List<HealthAssessment> byUserId(Integer userId);

    public HealthAssessment byDoctorId(Integer doctorId);


}
